package abstract

//真实工厂
type CarFactoryImpl struct {
}

func (f *CarFactoryImpl) CreateBenz() Benz {
	return &BenzG{}
}

func (f *CarFactoryImpl) CreateToyota() Toyota {
	return &ToyotaL{}
}
